package GoldMiner.com.ALi;

import java.awt.Toolkit;

/**
 * @author ：ALi
 * @date ：Created in 2021/10/31 11:27
 * @description：石块类
 * @modified By：
 * @version: $
 */
public class Rock extends Object {
    public Rock() {
        this.x = (int)(Math.random()*700);
        this.y = (int)(Math.random()*550+300);
        this.width = 71;
        this.height = 71;
        this.flag = false;
        this.m = 80;
        this.count = 1;
        this.type = 2;
        this.img = Toolkit.getDefaultToolkit().getImage("imgs/rock1.png");
    }

}